/*
[
    {
      "id": 37,
      "attrName": "分类",
      "categoryId": 1,
      "categoryLevel": 3,
      "attrValueList": [
        {
          "id": 32,
          "valueName": "Java",
          "attrId": 37
        },
  ]
]
*/
export interface GetAttrListApiParams {
  category1Id: number;
  category2Id: number;
  category3Id: number;
}

export interface AttrValueItem {
  id?: number;
  valueName: string;
  attrId?: number;
  isShowEdit?: boolean;
}

export type AttrValueList = AttrValueItem[];

export interface AttrsItem {
  id?: number;
  attrName: string;
  categoryId?: number;
  categoryLevel?: number;
  attrValueList: AttrValueList;
}

export type AttrList = AttrsItem[];
